import { InputSubscription } from "../module/InputIniModule"
import { Subscription } from "./Subscription"

// i.d(t, { V: () => AggregateSubscription })
export default class AggregateSubscription {
  subs: (Subscription | InputSubscription)[]
  constructor(...e) {
    this.subs = e
  }
  renew() {
    for (const e of this.subs) e.renew()
  }
  cancel() {
    for (const e of this.subs) e.cancel()
  }
}
